<!DOCTYPE html>
<HTML>
<HEAD><meta name="viewport" content="width=device-width, initial-scale=1">
<Title>JsXYChart</Title>
<link type='text/css' rel='Stylesheet' href="maxchartapi.css" />
</HEAD>
<body bgcolor="#FFFFFF" text="#000000" topmargin="0" leftmargin="0" rightmargin="0" marginwidth="0" marginheight="0">

<p class="heading0">ChartDirector 7.0 (Java Edition)</p>
<p class="heading1">JsXYChart</p>
<hr class="separator">
<div class="content">
The JsXYChart class represents XY charts in the <a href="jschartmodel.htm">Javascript Chart Model</a>. The corresponding server side class is <a href="XYChart.htm">XYChart</a>. JsXYChart objects can be obtained using <a href="JsChartViewer.getChart.htm">JsChartViewer.getChart</a>.
<br><br>
<div style="width:100%;box-sizing:border-box;">
<table border="1" cellpadding="5" cellspacing="0" width="100%"> 
<tr>
<th width="19%">Method</th><th width="19%">Inherited</th><th>Description</th>
</tr>
<tr>
<td><a href="JsXYChart.getAbsOffsetX.htm">getAbsOffsetX</a></td><td>(Self)</td><td>Gets the x offset of the chart relative to the outermost MultiChart container.</td></tr><tr><td><a href="JsXYChart.getAbsOffsetY.htm">getAbsOffsetY</a></td><td>(Self)</td><td>Gets the y offset of the chart relative to the outermost MultiChart container.</td></tr><tr><td><a href="JsXYChart.getPlotArea.htm">getPlotArea</a></td><td>(Self)</td><td>Gets the <a href="JsPlotArea.htm">JsPlotArea</a> object representing the plot area of the XYChart.</td></tr><tr><td><a href="JsXYChart.getLayer.htm">getLayer</a></td><td>(Self)</td><td>Gets a <a href="JsLayer.htm">JsLayer</a> object based on the order in which it is being added to the chart.</td></tr><tr><td><a href="JsXYChart.getLayerByZ.htm">getLayerByZ</a></td><td>(Self)</td><td>Gets a <a href="JsLayer.htm">JsLayer</a> object based on the order in which it is being drawn.</td></tr><tr><td><a href="JsXYChart.getLayerCount.htm">getLayerCount</a></td><td>(Self)</td><td>Gets the number of layers in the chart.</td></tr><tr><td><a href="JsXYChart.xAxis.htm">xAxis</a></td><td>(Self)</td><td>Gets the <a href="JsAxis.htm">JsAxis</a> object representing the primary x-axis of the XYChart.</td></tr><tr><td><a href="JsXYChart.xAxis2.htm">xAxis2</a></td><td>(Self)</td><td>Gets the <a href="JsAxis.htm">JsAxis</a> object representing the secondary x-axis of the XYChart.</td></tr><tr><td><a href="JsXYChart.yAxis.htm">yAxis</a></td><td>(Self)</td><td>Gets the <a href="JsAxis.htm">JsAxis</a> object representing the primary y-axis of the XYChart.</td></tr><tr><td><a href="JsXYChart.yAxis2.htm">yAxis2</a></td><td>(Self)</td><td>Gets the <a href="JsAxis.htm">JsAxis</a> object representing the secondary y-axis of the XYChart.</td></tr><tr><td><a href="JsXYChart.getXCoor.htm">getXCoor</a></td><td>(Self)</td><td>Gets the x pixel coordinate given the x data value.</td></tr><tr><td><a href="JsXYChart.getYCoor.htm">getYCoor</a></td><td>(Self)</td><td>Gets the y pixel coordinate given the y data value.</td></tr><tr><td><a href="JsXYChart.getXValue.htm">getXValue</a></td><td>(Self)</td><td>Gets the x data value given the x pixel coordinate.</td></tr><tr><td><a href="JsXYChart.getYValue.htm">getYValue</a></td><td>(Self)</td><td>Gets the y data value given the y pixel coordinate.</td></tr><tr><td><a href="JsXYChart.getNearestXValue.htm">getNearestXValue</a></td><td>(Self)</td><td>Gets the x data value that is nearest to the specified x pixel coordinate.</td></tr><tr><td><a href="JsXYChart.formatValue.htm">formatValue</a></td><td>(Self)</td><td>Formats a number/date using the ChartDirector formatting syntax as is in <a href="paramsub.htm">Parameter Substitution and Formatting</a>.</td></tr><tr><td><a href="JsXYChart.setNumberFormat.htm">setNumberFormat</a></td><td>(Self)</td><td>Sets the characters used for thousand separator, decimal point, and negative sign.</td></tr><tr><td><a href="JsXYChart.setMonthNames.htm">setMonthNames</a></td><td>(Self)</td><td>Sets the names of the months for date/time formatting purposes.</td></tr><tr><td><a href="JsXYChart.setWeekDayNames.htm">setWeekDayNames</a></td><td>(Self)</td><td>Sets the names of the week days for date/time formatting purposes.</td></tr><tr><td><a href="JsXYChart.setAMPM.htm">setAMPM</a></td><td>(Self)</td><td>Sets the names to be used to denote morning and afternoon.</td>
</tr>
</table>
</div>

</div>
<hr class="separator"><div class="copyright">&copy; 2022 Advanced Software Engineering Limited. All rights reserved.</div>
</body>
</HTML>
